const express = require('express');
const router = express.Router();
const controller = require('../controller/articles');
const auth = require('../middleware/author')

router.get('/',controller.showIndex)

router.get('/login',controller.showLogin)

router.get('/register',controller.showRegister)

router.get('/setting',auth,controller.showSetArticle)

router.get('/editor',auth,controller.showCreateArticle)

router.get('/tags',controller.showTags)

module.exports = router;